home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
snpd9611.zip
/
WB_FAPND.C
< prev
next >
Wrap
C/C++ Source or Header
|
1996-11-24
|
596b
|
28 lines
.I 0 3
/* +++Date last modified: 23-Nov-1996 */
/*
.D 1 1
.I 16 1
#include "snipfile.h" /* Contains prototype for fdcopy() */
.D 17 1
.I 36 12
if (fdto >= 0)
{
if (Success_ == fdcopy(fdfrom, fdto))
{
close(fdto);
close(fdfrom);
return Success_;
}
else
{
close(fdto);
remove(to); /* delete any partial file */
.D 37 31
.I 69 3
close(fdfrom);
return Error_;
}
.D 70 5